<template>
  <div id="app">
    <h1>{{msg}}</h1>
    <School />
    <Student />
  </div>
</template>

<script>
import School from './components/School.vue'
import Student from './components/Student.vue'

export default {
  name: 'App',
  
  //注册School组件
  components: {
    School,
    Student
  },
  data(){
    return{
      msg:'你好啊'
    }
  }
}
</script>

<style>

</style>
